package com.nidu.demo.oauth2.dto;

import com.nidu.demo.base.BaseCmd;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * OAuth2客户端状态修改命令
 *
 * @author auto
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OAuth2ClientUpdateStatusCmd extends BaseCmd {

    /**
     * 客户端ID
     */
    @NotNull(message = "菜单ID不能为空")
    private Long Id;

    /**
     * 状态（0正常 1停用）
     */
    @NotNull(message = "状态不能为空")
    private Integer status;
} 